package com.cskaoyan.service;

import com.cskaoyan.bean.MarketCoupon;
import com.cskaoyan.bean.MarketCouponUser;
import com.cskaoyan.bean.bo.AdminCouponListBO;
import com.cskaoyan.bean.common.BasePageInfo;
import com.cskaoyan.bean.common.CommonData;


public interface CouponService {
    CommonData<MarketCoupon> queryAll(AdminCouponListBO adminCouponListBO);

    void create(MarketCoupon marketCoupon);

    void update(MarketCoupon marketCoupon);

    void delete(MarketCoupon marketCoupon);

    MarketCoupon query(Integer id);

    CommonData<MarketCouponUser> listUser(BasePageInfo basePageInfo, Integer couponId, Integer userId, Short status);
}
